php forum
php mysql forum
php mysql smarty
 
Page 1 of 4 1 2 3 4 >
Topic Options
#201889 - 12/27/03 07:30 AM [6.7] [beta] Shoutbox
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Modification Name: Shoutbox

Author(s): LK

Description: This addon lets your users chat with each other, or leave a comment about your site, in a Shoutbox. It can be used in 3 different ways: iframe, ssi and javascript. Please refer to the script file for more information. NO FILES MODIFIED smile

Demo: http://www.ubbdev.com

Requirements: UBB.classic 6.7.0 Beta Release 1.0

Download Link: http://www.ubbdev.com/lk/download/ubb_shoutbox67.txt

Credits: JustDave, Allen, Chris, Dave2, Chuck

Instructions / Other Info: My second standalone "addon" smile
To use, simply rename to "ubb_shoutbox.cgi", upload to your UBB CGI folder and CHMOD correctly. Should immediately work smile

Number of Downloads: [img]http://www.ubbdev.com/lk/num.php?s=ubb_shoutbox67.txt[/img]
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#201890 - 12/27/03 09:00 AM Re: [6.7] [beta] Shoutbox
Charles Offline

Veteran

Registered: 10/22/00
Posts: 2637
Loc: London, UK
thanks smile
_________________________
Do you believe in love at first sight,
or should I walk by again?

Top
#201891 - 12/27/03 12:49 PM Re: [6.7] [beta] Shoutbox
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
thanks LK thumbsup
_________________________
- Allen wavey
- What Drives You?

Top
#201892 - 01/16/04 05:41 PM Re: [6.7] [beta] Shoutbox
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
LK, just one small fix. "Shoud added" smile

Top
#201893 - 01/20/04 07:58 AM Re: [6.7] [beta] Shoutbox
Mrs.B Offline
Member

Registered: 08/15/03
Posts: 71
LK, is there an option to prevent the members from adding notes - in case they got the URL of the shout box (mine is hidden in a private forum)?

by the way, any moderator can delete any note, so what shall we do to cut their hands from doing this wink ?

Top
#201894 - 01/20/04 08:44 AM Re: [6.7] [beta] Shoutbox
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Do you mean you want to have a shoutbox for only some users? nice idea.. try to set "$viewunreg" to 0, then find:
Code:
sub StandardHTML {
add above: (untseted)
Code:
if ($user_number ne '00000001' && $user_number ne '00000002' && .....) { &StandardHTML("how did you get in... anyway get out!"); }
then replace 00000001 with the first member that you want to have access to the shoutbox's membernumber, replace 00000002 with the second number of the member you wish to have access to the shoutbox's membernumber, and instead of ...... add $user_number ne 'XXXXXXXX' for each other member (make sure they're separated by "&&" if you add more than one)
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#201895 - 01/20/04 08:45 AM Re: [6.7] [beta] Shoutbox
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Oh, and about the moderator thing, that's very easy: set "$allowmods" to "0" tipsy
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#201896 - 01/20/04 09:06 AM Re: [6.7] [beta] Shoutbox
Mrs.B Offline
Member

Registered: 08/15/03
Posts: 71
aha, i`ll try them and let you know wink

Top
#201897 - 01/20/04 12:19 PM Re: [6.7] [beta] Shoutbox
Mrs.B Offline
Member

Registered: 08/15/03
Posts: 71
LK, Don't you think it would be easier if there is an option to let only moderators?

rather than adding their numbers like what you just gave me?

i can't imagine my self changing the numbers all the time once i have a new moderator shocked

Top
#201898 - 02/07/04 06:43 PM Re: [6.7] [beta] Shoutbox
Valkyrie Offline
Newbie

Registered: 03/20/02
Posts: 18
Loc: Ohio, USA
A little problem here with a shout box.

I have been trying to put the shout box in the left sidebar of my forum. I created a table for the left sidebar about 8 cells tall. The top 4 cells have links to other pages on my site. The fifth cell has a content island displaying "newest members" in HTML-JS format. In the sixth cell I put the shout box. When I add the shout box (using the frame script) the content island for newest member disappears. If I remove the shout box the content island is back. I figure I have to be doing something wrong. What do you think?
_________________________
MK

Top
#201899 - 02/08/04 01:21 AM Re: [6.7] [beta] Shoutbox
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Mrs.B, I missed your post...
Try:
Code:
my @profile = &OpenProfile($user_number);
if ($profile ne 'Moderator' && $profile ne 'Administrator') { &StandardHTML("get out"); }
Valkyrie.. I have no idea, are you sure you're also closing the iframe?
notice that it has to be
Code:
<iframe src="http://..."></iframe>
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#201900 - 02/08/04 11:49 AM Re: [6.7] [beta] Shoutbox
Valkyrie Offline
Newbie

Registered: 03/20/02
Posts: 18
Loc: Ohio, USA
Yes I am sure because the shout box appears but the content island does not. I have try it about 8 times on my board and test board.
_________________________
MK

Top
#201901 - 02/08/04 11:56 AM Re: [6.7] [beta] Shoutbox
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
I need a URL to the page where you see this problem... If it's a registered users-only UBB I need a test login/password
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#201902 - 02/08/04 12:35 PM Re: [6.7] [beta] Shoutbox
Valkyrie Offline
Newbie

Registered: 03/20/02
Posts: 18
Loc: Ohio, USA
I don't have it set up anymore.
_________________________
MK

Top
#201903 - 02/10/04 07:04 PM Re: [6.7] [beta] Shoutbox
tazzie Offline
Junior Member

Registered: 08/13/00
Posts: 21
Hello, I just recently upgraded to 6.6 and I just put on the shoutbox. Awesome!!! However, and sorry if I missed it somewhere else but everyone is shown as 'unregistered' I am logged in and it says that I'm logged in at the top. Has anyone ever heard of this before. Also, is there a faster auto refresh?

thank you

Top
#201904 - 03/23/04 09:33 PM Re: [6.7] [beta] Shoutbox
ADWOFF Offline
Content Queen

Registered: 05/07/01
Posts: 709
Loc: Pennsylvania
I kinda like/see the value of the shoutbox, but I'm not so sure I want to allow "unregistered" people to "shout." Is there an easy way to make it so that only registered users can play with it?

Thanks.
_________________________
Sue
adwoff.com

Top
#201905 - 03/23/04 09:44 PM Re: [6.7] [beta] Shoutbox
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
Code:
$unregpost  = 1;   # allow unregistered users to post? (0 = no, 1 = yes)
$viewunreg  = 1;   # allow unregistered users to view? (0 = no, 1 = yes)
first is to shout, second it to even see the contents.

Top
#201906 - 03/23/04 10:54 PM Re: [6.7] [beta] Shoutbox
ADWOFF Offline
Content Queen

Registered: 05/07/01
Posts: 709
Loc: Pennsylvania
Oops! I guess it'd help if I looked at the guts of the code, eh? Thanks, Ian. smile
_________________________
Sue
adwoff.com

Top
#201907 - 04/26/04 12:49 AM Re: [6.7] [beta] Shoutbox
PrimeTime Offline
Member

Registered: 11/06/01
Posts: 1046
Instead of using vars_misc.cgi is there a way in which I can set the character string limit independently? Currently, while URLs are fine whenever someone posts long text without breaks inside the Shoutbox it causes a horizontal scrollbar (I'm using iframe).
smash
_________________________
Members Spotlight Winner
bac-Clan
--------------------

Top
#201908 - 05/24/04 07:32 AM Re: [6.7] [beta] Shoutbox
GATOR420 Offline
Member

Registered: 01/31/03
Posts: 118
I think my Shoutbox may be broken... frown

When I submit a shout, it doesn't take me back to the main page. It just sits there as if I went to ubb_shoutbox.cgi by itself except its framed in the UBB style. I'm sure it's gotta be something easy for some, but for me, I'm clueless... Help please? smile

Also if anyone can direct me to where the width settings are as well as how I can set a number of messages before I get that fancy scroll bar like ubbdev has I would be most appreciative! Thanks in advance...
_________________________
-GATOR

"Pain is temporary, Pride is forever"

Top
#201909 - 05/24/04 08:06 AM Re: [6.7] [beta] Shoutbox
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
all the settings are in the file itself.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#201910 - 05/24/04 08:08 AM Re: [6.7] [beta] Shoutbox
GATOR420 Offline
Member

Registered: 01/31/03
Posts: 118
Right I looked through the file and I didn't see any place where it says "width", and I see the place to set how many messages before old one's get overwritten, maybe I just haven't put in enough messages yet...

However, any ideas on the bigger issue of it not taking me back to the forum home when a shout is posted? Test it out for yourself... Unregistered users are allowed to shout.
_________________________
-GATOR

"Pain is temporary, Pride is forever"

Top
#201911 - 05/24/04 08:14 AM Re: [6.7] [beta] Shoutbox
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Width settings? That's on the iframe tag itself
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#201912 - 05/24/04 08:20 AM Re: [6.7] [beta] Shoutbox
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Use an IFRAME, an include is telling it to reload the page (the page being the one shoutbox links to)
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#201913 - 05/24/04 11:10 AM Re: [6.7] [beta] Shoutbox
CTM Offline
Moderator / Da Masta

Registered: 11/23/01
Posts: 2567
And are you sure it's not working because you're using the iframe version of the shoutbox for a JS include on the page, right?

Top
#201914 - 05/24/04 07:16 PM Re: [6.7] [beta] Shoutbox
GATOR420 Offline
Member

Registered: 01/31/03
Posts: 118
OK... Pardon my ignorance on this stuff, I have no idea what I'm doing. I just follow directions and sometimes I don't even do that well. I wasn't sure how to use the iframe stuff, so rather than break it, I stuck with what I knew.

So I fixed how I was calling it, which was via Jscript, and now I am using the iframe as suggested. This is great as it gives me everything I was asking for. Now I just have one more question...

When I called it from Jscript, it just loaded the shoutbox and nothing else. Now, by calling it via iframe, it also loads the header. How can I get my header out of my footer? smile

Also if anyone has any idea how to center the menu and shoutbox I would again be most appreciative...
_________________________
-GATOR

"Pain is temporary, Pride is forever"

Top
#201915 - 05/29/04 02:59 PM Re: [6.7] [beta] Shoutbox
BigMrC Offline
Member

Registered: 11/09/01
Posts: 69
LK, I have board version 6.6.1 - which shoutbox version should I install and where do I get it if not this one?
Thanks

Top
#201916 - 05/29/04 03:03 PM Re: [6.7] [beta] Shoutbox
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA

Top
#201917 - 07/09/04 09:22 PM Re: [6.7] [beta] Shoutbox
ALeXo_JeSMe Offline
Junior Member

Registered: 07/09/04
Posts: 1
Loc: Minnesota
does this work with css to???

Top
#201918 - 07/09/04 09:54 PM Re: [6.7] [beta] Shoutbox
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
no it doesn't. those of us who use css have had to modify it ourselves. I'd give you mine, but I've edited it too much.

Top
#201919 - 07/10/04 05:06 AM Re: [6.7] [beta] Shoutbox
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
It's very simple to modify it to work with CSS... Do a search for "$vars_style", every time you found it it means there is something unCSS'd. But you have to know what to replace everything to.
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#201920 - 07/19/04 10:42 AM Re: [6.7] [beta] Shoutbox
driv Offline
User

Registered: 07/07/04
Posts: 36
Loc: UK
Where is the text (file?) for this wicked mod stored?

Been looking through the code and even grep'd for phrases - but I can't find it....

I'm.. just... not.... very..... clever...... frown help

Top
#201921 - 07/19/04 10:47 AM Re: [6.7] [beta] Shoutbox
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
You mean the instructions to modify the UBB code? (if you mean the ubb_shoutbox.cgi file, it's on http://mods.lkworld.com/ubb_shoutbox67.txt )

The thing which makes this mod wicked is that you don't have to modify anything, just plug'n'play smile

In the beginning of the ubb_shoutbox file, you'll see instructions in how to add it to a site, right after "You can call it the following ways:".
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#201922 - 07/19/04 03:02 PM Re: [6.7] [beta] Shoutbox
driv Offline
User

Registered: 07/07/04
Posts: 36
Loc: UK
Hi LK thanks for the answer.
I'm sorry that I didn't make myself very clear.
I actually meant the 'shouts' themselves.
Cheers,
d.

Top
#201923 - 07/19/04 03:09 PM Re: [6.7] [beta] Shoutbox
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
I believe it's called shoutbox.cgi in the Members directory

Top
#201924 - 07/19/04 03:14 PM Re: [6.7] [beta] Shoutbox
driv Offline
User

Registered: 07/07/04
Posts: 36
Loc: UK
Ah yes, that's it.
Cheers Ian smile

Top
#201925 - 07/20/04 09:38 AM Re: [6.7] [beta] Shoutbox
driv Offline
User

Registered: 07/07/04
Posts: 36
Loc: UK
Hi
I've had some feedback that my page (using shoutbox) is causing 'debug' problems.

So far, that's all I know (I've asked for more info - but not yet received responses).

However, I've noticed using Internet Explorer (v 6.0) that when the page finishes loading, I get...

DONE - but with errors on page.

Double clicking on this alert gives multiple reports of

'tfrm' is undefined.

Anyone experienced this previously?
Thanks for any feedback.
d.

Top
#201926 - 07/26/04 08:00 AM Re: [6.7] [beta] Shoutbox
driv Offline
User

Registered: 07/07/04
Posts: 36
Loc: UK
('tfrm' is undefined.)

Nobody encountered this previously?

I know that removing the iframe that calls the shoutbox, removes the problem, so it has to be ubb_shoutbox.

???

Top
#201927 - 07/26/04 08:03 AM Re: [6.7] [beta] Shoutbox
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
You got UBB 6.7?
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#201928 - 07/26/04 10:50 AM Re: [6.7] [beta] Shoutbox
driv Offline
User

Registered: 07/07/04
Posts: 36
Loc: UK
Hi LKK
Yes I have 6.7.1

Top
#201929 - 07/26/04 01:27 PM Re: [6.7] [beta] Shoutbox
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
I visited your "homepage" yahoo.com and couldn't find any shoutbox wink
Can you give me the URL of your site?
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#201930 - 07/26/04 02:51 PM Re: [6.7] [beta] Shoutbox
driv Offline
User

Registered: 07/07/04
Posts: 36
Loc: UK
Ho ho ho laugh
Link on its way.
Thanks.

Top
#201931 - 07/26/04 02:56 PM Re: [6.7] [beta] Shoutbox
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
a test account would be nice also, as your shoutbox requires us to be logged in

Top
#201932 - 07/26/04 02:57 PM Re: [6.7] [beta] Shoutbox
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Replied wink

You got a nice site btw smile
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#201933 - 07/26/04 04:29 PM Re: [6.7] [beta] Shoutbox
driv Offline
User

Registered: 07/07/04
Posts: 36
Loc: UK
Hi again,
Unregistered users now allowed.

Damn mouse batteries failed in the middle of this post.....

thanks again guys smile
H.

Top
#201934 - 07/26/04 04:44 PM Re: [6.7] [beta] Shoutbox
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
odd, please post the contents of your vars_time.cgi file

Top
#201935 - 07/26/04 05:07 PM Re: [6.7] [beta] Shoutbox
driv Offline
User

Registered: 07/07/04
Posts: 36
Loc: UK
Hi Ian, here it is...

Code:
%vars_time = (
TimeZone => q~GMT~,
TimeZoneOffset => q~0~,
DateFormat => "EuroX",
TimeFormat => "AMPM"
);
1;
Thanks again,
d.

Top
#201936 - 07/26/04 05:22 PM Re: [6.7] [beta] Shoutbox
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Fixed, I just had to submit the Date & Time settings..

Just a question, why do you use AMPM on GMT/EuroX? I thought that AMPM is only used in the USA...
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#201937 - 07/26/04 05:45 PM Re: [6.7] [beta] Shoutbox
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
Quote:
Originally posted by LK:

Fixed, I just had to submit the Date & Time settings..

Just a question, why do you use AMPM on GMT/EuroX? I thought that AMPM is only used in the USA...



haha, AMPM isn't even used in the entire US

Top
#201938 - 07/26/04 05:45 PM Re: [6.7] [beta] Shoutbox
driv Offline
User

Registered: 07/07/04
Posts: 36
Loc: UK
Perhaps I'm not understanding this properly...?

I was under the impression that the am/pm settings were simply a choice of how the time was displayed?

Either way, I owe you one smile
PM on its way....

Thanks to all.
d.

Top
#201939 - 03/27/05 09:46 PM Re: [6.7] [beta] Shoutbox
havoq Offline
Member

Registered: 09/11/01
Posts: 667
Loc: MI
Heres a question:

Is there a way to output the shoutbox to another file called shoutbox_archive. This way you can trace back to a month if you wanted to see a shout, or even a few weeks if need be.

Im sure it would have to do with this section:

Code:
	if ($#file > $shouts - 1) {
		my $i = 0;
		foreach($#file - ($shouts-1)..$#file) {
			$file[$i] = $file[$_];
			$i++;
		}
		$#file = $shouts - 1;
	}

	&WriteFileAsArray("$vars_config{MembersPath}/shoutbox.cgi", @file);
_________________________
-Jon
I have a measly [img]http://www.ubbdev.com/ud/?u=chugger93&s=1[/img] points, it's weak, I know wink
Where I continue to hack, even though it's a state of mind

Top
#201940 - 03/28/05 06:28 AM Re: [6.7] [beta] Shoutbox
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Nice idea...
Try that:
First create a copy of shoutbox.cgi as shoutbox_archive.cgi in your Members folder. Make sure its CHMOD is 777.
Then after the code you posted, add:
Code:
&AppendFileAsString("$vars_config{MembersPath}/shoutbox_archive.cgi", "n$file[$#file]");
Untested, but should work.
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#201941 - 03/28/05 08:16 AM Re: [6.7] [beta] Shoutbox
havoq Offline
Member

Registered: 09/11/01
Posts: 667
Loc: MI
Oh it works, flawlessly!

Thanks LK, this will come in handy for me tipsy
_________________________
-Jon
I have a measly [img]http://www.ubbdev.com/ud/?u=chugger93&s=1[/img] points, it's weak, I know wink
Where I continue to hack, even though it's a state of mind

Top
#201942 - 06/25/05 09:42 PM Re: [6.7] [beta] Shoutbox
IguanaJoe Offline
Junior Member

Registered: 10/04/04
Posts: 16
Loc: Lamar, MO
I will probably get flamed for asking this newbie question but what is:

# Upload to cgi, chmod 755 and use!

I realize I need to rename the file and upload it. But upload it where? Just to the ubb/cgi folder?

Thanks.

You ever think of writing a book LK? You da man!

Top
#201943 - 06/25/05 09:47 PM Re: [6.7] [beta] Shoutbox
IguanaJoe Offline
Junior Member

Registered: 10/04/04
Posts: 16
Loc: Lamar, MO
Forgot to ask. I love the shoutbox on the main page. I want that style. Is that in a frame? How do I get my board to do frames?

Thanks again.

Top
#201944 - 06/26/05 01:28 PM Re: [6.7] [beta] Shoutbox
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Joe,

You won't get flamed as long as you hate the Spurs smile

Upload the file to your cgi-bin folder, the one with ultimatebb.cgi and cp.cgi.
Then if your host is on UNIX chmod the file to 755 (if you don't know how to do that, google "chmod").

About the second question, what do you mean? If you mean the ubbdev.com style, it is indeed an iframe. ubb_shoutbox.cgi has the directions on how to use it as an iframe.
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#201945 - 09/25/05 10:58 AM Re: [6.7] [beta] Shoutbox
AshtarRose Offline
Journeyman

Registered: 09/22/05
Posts: 137
Loc: Columbus, OH
I just added it, but it doesn't appear. What am I doing wrong this time Ian? http://hogwartsbynight.com/ubb/ultimatebb.php

I guess my question is, how do you insert the script to appear on the left of your board as such --->

As in, I am horrible at knowing where to put the iframe so it will appear on the left side.
_________________________
http://www.riddledindarkness.com * Yeah I need the Crazy Mods.

Top
#201946 - 09/25/05 05:37 PM Re: [6.7] [beta] Shoutbox
AshtarRose Offline
Journeyman

Registered: 09/22/05
Posts: 137
Loc: Columbus, OH
Ah..ok I worked on the sidebar all day and I got that working and how I want it in my test forum, but now its saying that the cgi file I uploaded. and moded to 755 can not be found.
_________________________
http://www.riddledindarkness.com * Yeah I need the Crazy Mods.

Top
#201947 - 09/26/05 09:23 AM Re: [6.7] [beta] Shoutbox
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
http://hogwartsbynight.com/cgi-bin/ubb/ubb_shoutbox.cgi
It works, it only tells you to upload http://www.ubbdev.com/ubb/delshout.gif into 'http://hogwartsbynight.com/ubb/delshout.gif'.
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#201948 - 02/13/06 01:22 AM Re: [6.7] [beta] Shoutbox
REAMERE Offline
Member

Registered: 06/03/03
Posts: 60
Hello!
Here's one for you.
I have the shoutbox running as an Iframe.
Put in a few style tags to the ubb_shoutbox.cgi file which work fine.
However, I am trying to add a gradient background, it gives strange results.
In the 'body_extra' area I added both the style and body style tags.
Both times, it does create a gradient but it is a blue gradient (which I don't want) regardless of what I change the color to.
For the time being I just set a background color.
The webpage is: http://www.technicalblog.org/tech/ultimatebb.cgi
The code I added for the gradient looks like this:
Code:
 'body_extra'       => 'body style="filter:progid:DXImageTransform.Microsoft.Gradient(endColorstr='#555555', startColorstr='#444444', gradientType='0');"'         # body tag extra code     - IFRAME ONLY 
Any ideas???

Thanks in advance. smile
Oh, BTW, Version 6.7.2
_________________________
REaMERE

Top
#201949 - 02/14/06 02:19 PM Re: [6.7] [beta] Shoutbox
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Try:
Code:
 'body_extra'       => qq~ style="filter:progid:DXImageTransform.Microsoft.Gradient(endColorstr='#555555', startColorstr='#444444', gradientType='0');"~         # body tag extra code     - IFRAME ONLY 
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#201950 - 02/15/06 02:00 PM Re: [6.7] [beta] Shoutbox
REAMERE Offline
Member

Registered: 06/03/03
Posts: 60
That did it!
Thanks, you are the code breaker, awesome.

I suppose that type of cide could be applied to the Forum Summary .pl pages as well?

Thanks again! smile
_________________________
REaMERE

Top
Page 1 of 4 1 2 3 4 >



Moderator:  Charles, Gizmo 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks